package com.customer.crm.system.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_system_function")
@Alias("systemFunction")
public class SystemFunction implements Serializable {

    private String id;

    @TableField(fill = FieldFill.INSERT, value = "createTime")
    private Date createTime;

    @TableField(value = "funcCode")
    private String funcCode;

    @TableField(value = "funcName")
    private String funcName;

    @TableField(value = "funcNote")
    private String funcNote;

    @TableField(value = "funcType")
    private Integer funcType;

    @TableField(value = "funcURL")
    private String funcURL;

    @TableField(value = "sortNum")
    private Integer sortNum;

    @TableLogic(value = "1", delval = "0")
    private Integer status;

    @TableField(fill = FieldFill.UPDATE, value = "updateTime")
    private Date updateTime;

    @TableField(value = "createBy")
    private String createBy;

    @TableField(value = "parentId")
    private String parentId;

    @TableField(value = "updateBy")
    private String updateBy;

}
